Google Interview Question | Red & Blue Marbles Puzzle